#include "bookpage.h"

BookPage::BookPage(QObject *parent) :
    QObject(parent)
{
}

void BookPage::setPage(QString name)
{
    m_page = QUrl(name);
}

QUrl BookPage::pageUrl() const
{
    return m_page;
}

void BookPage::setNumber(int index)
{
    m_index = index;
}

int BookPage::pageNumber() const
{
    return m_index;
}
